home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 2999 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: sn.no!not-for-mail
  2. From: christon (Christopher Naas)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: .key
  5. Date: 25 Jan 1996 17:24:58 +0100
  6. Organization: SN Internett
  7. Message-ID: <896.6598T1027T1647@Th0r.foo.bar>
  8. References: <1996Jan23.163238.27082@nosc.mil>
  9. NNTP-Posting-Host: sinsen.sn.no
  10. X-Newsreader: THOR 2.21 (Amiga;SOUP)
  11.  
  12. Gary E. Dunn wrote:
  13.  
  14. >I have a game that is started by executing a script
  15. >via iconx. What puzzles me is that the following
  16. >command line is executed before the game is started:
  17. >.key dummy
  18. >This puzzles me because there are no files on the disk
  19. >named .key or dummy. Is anyone familiar with this
  20. >command?
  21.  
  22. Have a look in your AmigaDOS manual. .key is used for scripts, like this:
  23.  
  24. -------------------------------------------------------------------------
  25. .key PATH
  26. .bra {
  27. .ket }
  28.  
  29. cd {PATH}
  30. delete #? all
  31. -------------------------------------------------------------------------
  32.  
  33. The above script deletes all files in the argument sent to it, i.e.
  34.  
  35. 1> deld dh0:games
  36.  
  37.  
  38. ".key dummy" is an argument, parsed by ReadArgs ().
  39.  
  40. --
  41. Christopher Landmark Naas    o  EMail: christon@sn.no
  42. LoungeBar Development        o  WWW:   http://www.sn.no/~christon/
  43. Former Reg. Amiga Developer  o  IRC:   KarmaComa
  44.